package com.itwill.ecom.receiver;

import java.sql.Date;

import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.annotate.JsonRootName;

@JsonRootName("ReceiverBeans")
public class ReceiverBeans { // 수취인

	@JsonProperty("receiver_no")
	private int receiver_no; // PK
	@JsonProperty("receiver_o_no")
	private int receiver_o_no; // 주문번호 (FK)
	@JsonProperty("receiver_name")
	private String receiver_name; // 수취인
	@JsonProperty("receiver_email")
	private String receiver_email; // 이메일
	@JsonProperty("receiver_tel")
	private String receiver_tel; // 전화번호1
	@JsonProperty("receiver_phone")
	private String receiver_phone; // 핸드폰
	@JsonProperty("receiver_addr1")
	private String receiver_addr1; // 우편번호주소
	@JsonProperty("receiver_addr2")
	private String receiver_addr2; // 상세주소
	@JsonProperty("receiver_date")
	private Date receiver_date; // 주문일
	@JsonProperty("receiver_memo")
	private String receiver_memo; // 전달사항

	public ReceiverBeans() {
		
	}

	public ReceiverBeans(int receiver_no, int receiver_o_no,
			String receiver_name, String receiver_email, String receiver_tel,
			String receiver_phone, String receiver_addr1,
			String receiver_addr2, Date receiver_date, String receiver_memo) {
		super();
		this.receiver_no = receiver_no;
		this.receiver_o_no = receiver_o_no;
		this.receiver_name = receiver_name;
		this.receiver_email = receiver_email;
		this.receiver_tel = receiver_tel;
		this.receiver_phone = receiver_phone;
		this.receiver_addr1 = receiver_addr1;
		this.receiver_addr2 = receiver_addr2;
		this.receiver_date = receiver_date;
		this.receiver_memo = receiver_memo;
	}

	public int getReceiver_no() {
		return receiver_no;
	}

	public void setReceiver_no(int receiver_no) {
		this.receiver_no = receiver_no;
	}

	public int getReceiver_o_no() {
		return receiver_o_no;
	}

	public void setReceiver_o_no(int receiver_o_no) {
		this.receiver_o_no = receiver_o_no;
	}

	public String getReceiver_name() {
		return receiver_name;
	}

	public void setReceiver_name(String receiver_name) {
		this.receiver_name = receiver_name;
	}

	public String getReceiver_email() {
		return receiver_email;
	}

	public void setReceiver_email(String receiver_email) {
		this.receiver_email = receiver_email;
	}

	public String getReceiver_tel() {
		return receiver_tel;
	}

	public void setReceiver_tel(String receiver_tel) {
		this.receiver_tel = receiver_tel;
	}

	public String getReceiver_phone() {
		return receiver_phone;
	}

	public void setReceiver_phone(String receiver_phone) {
		this.receiver_phone = receiver_phone;
	}

	public String getReceiver_addr1() {
		return receiver_addr1;
	}

	public void setReceiver_addr1(String receiver_addr1) {
		this.receiver_addr1 = receiver_addr1;
	}

	public String getReceiver_addr2() {
		return receiver_addr2;
	}

	public void setReceiver_addr2(String receiver_addr2) {
		this.receiver_addr2 = receiver_addr2;
	}

	public Date getReceiver_date() {
		return receiver_date;
	}

	public void setReceiver_date(Date receiver_date) {
		this.receiver_date = receiver_date;
	}

	public String getReceiver_memo() {
		return receiver_memo;
	}

	public void setReceiver_memo(String receiver_memo) {
		this.receiver_memo = receiver_memo;
	}
}